const mysql=require('mysql')
const db=mysql.createPool({
host:'127.0.0.1',
user:'root',
password:'4786953111',
database:'my_db_01'
})
module.exports=db
// SELECT d.id, d.name, u.nickname, d.url FROM t_dish d INNER JOIN t_user u ON d.user_id = u.id ORDER BY RAND() LIMIT 4;